package cn.iocoder.yudao.module.erp.controller.admin.dispatchvehicle.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 总配车信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DispatchVehicleRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "21802")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "单据表主键id")
    private String dpId;

    @Schema(description = "线路选择 东线1 西线2")
    private Integer line;

    @Schema(description = "发货人")
    private String sender;

    @Schema(description = "配车号")
    @ExcelProperty("配车号")
    private String dispatchNumber;

    @Schema(description = "单号")
    @ExcelProperty("单号")
    private String no;

    @Schema(description = "始发地")
    @ExcelProperty("始发地")
    private Integer origin;

    @Schema(description = "目的地")
    @ExcelProperty("目的地")
    private Integer dest;

    @Schema(description = "线路详情")
    private String lineDetails;

    @Schema(description = "线路详情创建时间")
    private String addressCreateTimes;

    @Schema(description = "车到达地址")
    private String address;

    @Schema(description = "发货天数")
    private Integer deliveryDays;

    @Schema(description = "运费")
    @ExcelProperty("运费")
    private Double fare;

    @Schema(description = "供应商")
    @ExcelProperty("供应商")
    private String supplier;

    @Schema(description = "车队名称")
    private String fleet;

    @Schema(description = "运输状态", example = "1")
    @ExcelProperty("运输状态")
    private Integer transportationStatus;

    @Schema(description = "出入库状态 1已出库 2已入库", example = "1")
    private String inventoryStatus;

    @Schema(description = "是否拆票 0否 1是")
    @ExcelProperty("是否拆票 0否 1是")
    private Integer isSplit;

    @Schema(description = "本车件数")
    @ExcelProperty("本车件数")
    private Integer packagesTotal;

    @Schema(description = "本车重量")
    @ExcelProperty("本车重量")
    private Double weightTotal;

    @Schema(description = "本车体积")
    @ExcelProperty("本车体积")
    private Double volumeTotal;

    @Schema(description = "司机电话")
    @ExcelProperty("司机电话")
    private String driverPhone;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String note;

    @Schema(description = "主表部分信息")
    private String dpData;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}